import {
	postRequest,
	getRequest,
	upLoadRequest
} from "./request";
// 推荐位
export const position = {
	detail(data, fun) {
		return postRequest("/api/position.content/detail", data, false)
	},
	list(data, fun) {
		return postRequest("/api/position.content/lists", data, false)
	},
}
export const setting = {
	index(data, fun) {
		return postRequest("/api/setting/index", data, false)
	}
}
// 文章
export const article = {
	lists(data, fun) {
		return postRequest("/api/article/lists", data, false)
	},
	detail(data, fun) {
		return postRequest("/api/article/detail", data, false)
	}
}
// 民生实事
export const project = {
	lists(data, fun) {
		return postRequest("/api/project/lists", data, false)
	},
}
export const station = {
	all(data, fun) {
		return postRequest("/api/station/all", data, false)
	},
	detail(data, fun) {
		return postRequest("/api/station/detail", data, false)
	},
	feedbackAnalysis(data, fun) {
		return postRequest("/api/station/feedbackAnalysis", data, false)
	},
	memberList(data, fun) {
		return postRequest("/api/station.member/lists", data, false)
	},
	feedback:{
		lists(data, fun) {
			return postRequest("/api/station.feedback/lists", data, false)
		},
		detail(data, fun) {
			return postRequest("/api/station.feedback/detail", data, false)
		},
		monthAnalysis(data, fun) {
			return postRequest("/api/station.feedback/monthAnalysis", data, false)
		}
	}
}
export const group = {
	lists(data, fun) {
		return postRequest("/api/group/lists", data, false)
	},
	rddb(data, fun) {
		return postRequest("/api/group/rddb", data, false)
	}
}